package com.video.video.domain;

import com.video.common.annotation.Excel;
import com.video.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * vip下载记录对象 d_good_download_record
 *
 * @author ruoyi
 * @date 2023-03-16
 */
public class GoodDownloadRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private String id;

    /** 会员id */
    private String uid;

    @Excel(name = "会员名称")
    private String uname;

    /** 商品id */
    private String gid;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String goodName;

    /** 商品图片 */
    @Excel(name = "商品图片")
    private String imageUrl;

    /** 视频下载路径 */
    @Excel(name = "视频下载路径")
    private String videoUrl;

    public void setId(String id)
    {
        this.id = id;
    }

    public String getId()
    {
        return id;
    }
    public void setUid(String uid)
    {
        this.uid = uid;
    }

    public String getUid()
    {
        return uid;
    }
    public void setGid(String gid)
    {
        this.gid = gid;
    }

    public String getGid()
    {
        return gid;
    }
    public void setGoodName(String goodName)
    {
        this.goodName = goodName;
    }

    public String getGoodName()
    {
        return goodName;
    }
    public void setImageUrl(String imageUrl)
    {
        this.imageUrl = imageUrl;
    }

    public String getImageUrl()
    {
        return imageUrl;
    }
    public void setVideoUrl(String videoUrl)
    {
        this.videoUrl = videoUrl;
    }

    public String getVideoUrl()
    {
        return videoUrl;
    }

    public String getUname() {
        return uname;
    }

    public void setUname(String uname) {
        this.uname = uname;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("uid", getUid())
            .append("gid", getGid())
            .append("goodName", getGoodName())
            .append("imageUrl", getImageUrl())
            .append("videoUrl", getVideoUrl())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
